package com.example.designpatterns.bridge;

// 抽象层的具体实现：文本消息
public class TextMessage extends Message {
    public TextMessage(MessageSender sender) {
        super(sender);
    }

    @Override
    public void send(String content) {
        System.out.println("发送文本消息: " + content);
        sender.sendMessage(content);
    }
}